﻿
namespace Project.Co_DataTransformationPrototype
{
    /// <summary>
    /// Concrete class representing the added-state which
    /// includes functionality to handle state-changes
    /// </summary>
    class AddedState : StateBase
    {

        // Constructor
        public AddedState(EventContext eContext)
        {
            this.EventContext = eContext;
        }

        /// <summary>
        /// Handles the state change of a model element
        /// </summary>
        /// <param name="state"></param>
        /// <returns></returns>
        public override StateBase Handle(StateBase state)
        {
            StateBase resultState;

            // TODO: Optimization
            resultState = state;
            
            return resultState;
        }

    }
}
